import http from '@/utils/request'

export async function login(data) {
  return await http.login("/user/login",data)
}

export async function getInfo() {
  return await http.get("/user/queryUserInfo")
}

export async function logout() {
  return await http.post("/user/logout")
}
